package com.xuyiwei.xblog;

import com.xuyiwei.xblog.core.support.DateTimeKit;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

import java.util.Date;

@SpringBootApplication
@EnableCaching
public class XblogAdminApplication {

	private final static Logger logger = LoggerFactory.getLogger(XblogAdminApplication.class);

	public static void main(String[] args) {
		SpringApplication.run(XblogAdminApplication.class, args);
		logger.info("xblog部署完毕,时间:"+ DateTimeKit.format(new Date(),"yyyy-MM-dd hh:mm:ss")+"!");

	}
}
